﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyTest {

    /// <summary>
    /// Window object.
    /// </summary>
    public class Window {

        /// <summary>
        /// Gets and sets the WindowHandle for this object.
        /// </summary>
        public string WindowHandle { get; set; }

        /// <summary>
        /// Gets and sets the Title for this object.
        /// </summary>
        public string WindowTitle { get; set; }

        /// <summary>
        /// Gets and sets the URL for this object.
        /// </summary>
        public string WindowUrl { get; set; }

        /// <summary>
        /// Gets and sets the Body for this object.
        /// </summary>
        public string WindowBody { get; set; }

        /// <summary>
        /// Gets and sets a collection of Frames within this object.
        /// </summary>
        public Collection<Frame> Frames { get; set; }

        /// <summary>
        /// Create new Window object
        /// </summary>
        /// <param name="windowHandle">WindowHandle for this Window.</param>
        /// <param name="windowTitle">Title for this Window.</param>
        /// <param name="windowUrl">URL for this Window.</param>
        /// <param name="windowBody">Body for this Window.</param>
        public Window(string windowHandle, string windowTitle, string windowUrl, string windowBody) {
            WindowHandle = windowHandle;
            WindowTitle = windowTitle;
            WindowUrl = windowUrl;
            WindowBody = windowBody;
        }

    }
}
